package fr.cie.blog.domainservice;

import fr.cie.blog.beans.Card;
import fr.cie.blog.beans.Style;

/**
 * @author AetM
 * 
 */
public interface IServiceStyle extends IServiceGeneric<Style> {

	/**
	 * @param card
	 *            the container of the wanted Style
	 * @return the style of the card
	 */
	Style findByCard(Card card);

	/**
	 * @return the default Style
	 */
	Style findDefaultStyle();

	/**
	 * @param name
	 *            the name of the wanted Style
	 * @return the style which matches with the name
	 */
	Style findByName(String name);

}